<%--
  Created by IntelliJ IDEA.
  User: l
  Date: 2022/5/26
  Time: 21:48
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="utf-8"/>
    <title>个人信息</title>
    <link rel="stylesheet" type="text/css" href="css/public.css"/>
    <link rel="stylesheet" type="text/css" href="css/mygrxx.css"/>
    <link rel="stylesheet" type="text/css" href="./css/wnl.css"/>
</head>
<body><!------------------------------head------------------------------>
<%@ include file="header1.jsp" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!------------------------------idea------------------------------>
<div class="address mt">
    <div class="wrapper clearfix"><a href="indexselect" class="fl">首页</a><span>/</span><a href="#" class="on">个人信息</a>
    </div>
</div><!------------------------------Bott------------------------------>
<div class="Bott">
    <div class="wrapper clearfix">
        <div class="zuo fl">
            <h3><a href="#"><img width="80px" height="80px" src="image/headerphoto/${hp.user_filename}"/></a>${name.user_id}
                <p class="clearfix"><span class="fl">[${name.user_name}]</span><span class="fr"><a href="/lyq/admin/logout">[退出登录]</a></span></p></h3>
            <div><h4>我的交易</h4>
                <ul>
                    <li><a href="showcart">我的购物车</a></li>
                    <li><a href="myorderqselect">我的订单</a></li>
                    <li><a href="myprodselect">评价晒单</a></li>
                </ul>
                <h4>个人中心</h4>
                <ul>
                    <li><a href="mygxinselect">我的中心</a></li>
                    <li><a href="addressselect">地址管理</a></li>
                </ul>
                <h4>账户管理</h4>
                <ul>
                    <li class="on"><a href="mygrxxselect">个人信息</a></li>
                    <li><a href="remimaselect">修改密码</a></li>
                </ul>
            </div>
        </div>
        <div class="you fl"><h2>个人信息</h2>
            <div class="gxin">
                <div class="tx"><a href="#"><img width="100px" height="100px" src="image/headerphoto/${hp.user_filename}"/>
                    <p id="avatar">修改头像</p></a></div>
                <div class="xx"><h3 class="clearfix"><strong class="fl">基础资料</strong><a href="#" class="fr" id="edit1">编辑</a>
                </h3>
                    <div>姓名：${name.user_id}</div>
                    <div>生日：${name.user_birthday}</div>
                    <div>
                        <c:if test="${name.user_sex == 0}">
                            性别：女
                        </c:if>
                        <c:if test="${name.user_sex == 1}">
                            性别：男
                        </c:if>
                    </div>
                    <h3>高级设置</h3><!--<div><span class="fl">银行卡</span><a href="#" class="fr">管理</a></div>-->
                    <div><span class="fl">账号地区：中国</span></div>
                </div>
            </div>
        </div>
    </div>
</div><!--遮罩-->
<div class="mask"></div><!--编辑弹框-->
<div class="bj" id="">
    <div class="clearfix"><a href="#" class="fr gb"><img src="img/icon4.png"/></a></div>
    <h3>编辑基础资料</h3>
    <form action="regrxx" method="post"><p><label>姓名：</label><input type="text" name="username" value="${name.user_id}"/></p>
        <p><label>生日：</label><input type="text" name="birthday" value="${name.user_birthday}" readonly id="txt_calendar"  onfocus="showDate()" placeholder="请输入生日"></p>
        <p><label>性别：</label><span><input style="width: 20px; height: 20px;" ${name.user_sex=='1'?"checked":""} name="sex" value="1" type="radio"/>男</span><span><input name="sex" value="0" style="width: 20px; height: 20px;" ${name.user_sex=='0'?"checked":""} type="radio"/>女</span></p>
        <div class="bc"><input type="submit" style="margin-left: 20px" value="保存"/><input type="button"  style="margin-left: 20px" value="取消"/></div>
        <script src="js/1831.js"></script>
        <input type="hidden" name="yname" value="${name.user_id}">
        <input type="hidden" name="pass" value="${name.user_pass}">
    </form>
</div>
<%--<script src="js/183.js"></script>--%>
</div><!--修改头像-->
<div class="avatar">
    <div class="clearfix"><a href="#" class="fr gb"><img src="img/icon4.png"/></a></div>
    <h3>修改头像</h3>
    <form action="getphoto" method="post" enctype="multipart/form-data"><h4>请上传图片</h4><input type="file" enctype="multipart/form-data" name="photo" value="上传头像"/>
        <input type="hidden" name="username" value="${name.user_id}">
        <input type="hidden" name="file" value="${hp.user_filename}">
        <p>jpg,JPG,PNG或png</p><input style="width: 150px; height: 30px;margin: 0px 60px" type="submit" value="提交"/>
    </form>
</div><!--返回顶部-->
<div class="gotop"><a href="showcart">
    <dl>
        <dt><img src="img/gt1.png"/></dt>
        <dd>去购<br/>物车</dd>
    </dl>
</a><a href="#" class="dh">
    <dl>
        <dt><img src="img/gt2.png"/></dt>
        <dd>联系<br/>客服</dd>
    </dl>
</a><a href="mygxinselect">
    <dl>
        <dt><img src="img/gt3.png"/></dt>
        <dd>个人<br/>中心</dd>
    </dl>
</a><a href="#" class="toptop" style="display: none">
    <dl>
        <dt><img src="img/gt4.png"/></dt>
        <dd>返回<br/>顶部</dd>
    </dl>
</a>
    <p>400-800-8200</p></div><!--footer-->
<div class="footer">
    <div class="top">
        <div class="wrapper">
            <div class="clearfix"><a href="#2" class="fl"><img src="img/foot1.png"/></a><span class="fl">7天无理由退货</span>
            </div>
            <div class="clearfix"><a href="#2" class="fl"><img src="img/foot2.png"/></a><span class="fl">15天免费换货</span>
            </div>
            <div class="clearfix"><a href="#2" class="fl"><img src="img/foot3.png"/></a><span class="fl">满599包邮</span>
            </div>
            <div class="clearfix"><a href="#2" class="fl"><img src="img/foot4.png"/></a><span class="fl">手机特色服务</span>
            </div>
        </div>
    </div>
    <p class="dibu">最家家居&copy;2013-2017公司版权所有 京ICP备080100-44备0000111000号<br/>
        违法和不良信息举报电话：400-800-8200，本网站所列数据，除特殊说明，所有数据均出自我司实验室测试</p></div>
<script src="js/jquery-1.12.4.min.js" type="text/javascript" charset="utf-8"></script>
<script src="js/public.js" type="text/javascript" charset="utf-8"></script>
<script src="js/user.js" type="text/javascript" charset="utf-8"></script>
</body>
</html>
